package com.the_ring.behavior.command;

/**
 * @author: t22306139
 * @date: 2023/12/1  14:36
 */
public class MainTest {

    public static void main(String[] args) {
        Light light = new Light("energy-saving light");
        TurnOnCommand com = new TurnOnCommand(light);
        com.exec();
        com.undo();
    }
}
